package com.ruoyi.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 环保监控数据对象 env_monitor_data
 * 
 * @author qiancheng
 * @date 2025-06-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("env_monitor_data")
public class EnvMonitorData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 所属年份 */
    @Excel(name = "所属年份")
    @TableField(value = "belongYear")
    private Integer belongYear;

    /** 所属月份 */
    @Excel(name = "所属月份")
    @TableField(value = "belongMonth")
    private Integer belongMonth;

    /** 污染物类型：1-CO，2-SO₂，3-颗粒物，4-NOX */
    @Excel(name = "污染物类型：1-CO，2-SO₂，3-颗粒物，4-NOX")
    @TableField(value = "pollutant_type")
    private Integer pollutantType;

    /** 排放量（m³） */
    @Excel(name = "排放量", readConverterExp = "m=³")
    @TableField(value = "emission")
    private BigDecimal emission;

    /** 国际标准（m³） */
    @Excel(name = "国际标准", readConverterExp = "m=³")
    @TableField(value = "standard")
    private BigDecimal standard;


}
